package im.yisme.model.service;

import im.yisme.vo.LyricsVO;

import java.io.IOException;
import java.util.Iterator;

import org.json.JSONException;

public interface PlatformService {
	
	public void downloadFile(long id, String filePath) throws IOException, JSONException;
	public LyricsVO downloadInfo(long remoteId) throws IOException, JSONException;
	public void search(String keyword) throws IOException, JSONException;
	public boolean evaluate(long id, int score) throws IOException, JSONException;
	public long uploadInfo(long id) throws IOException, JSONException;
	public boolean uploadFile(long id, long remoteId) throws IOException, JSONException;
	public boolean isSearching();
	public Iterator<LyricsVO> getSearchResult();
}
